#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	int x = 2022;
	x = x - 26 - 26 * 26;
	printf("%d\n", x);
	printf("%c%c%c", x / (26 * 26)+'A', (x - (26 * 26) * (x / (26 * 26))) / 26+'A', (x - (26 * 26) * (x / (26 * 26)) / 26 - ((x - (26 * 26) * (x / (26 * 26))) / 26) * 26) % 26+'A'-1);
	return 0;
}